package com.Tokiu.Aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class LoginTuition {

    @Pointcut("execution(void com..*Login())")
    private void pts(){};

    @Before("pts()")
    public void SayHello()
    {
        System.out.println("欢迎使用此网站！");
    }
}
